package com.dao.user;

import com.pojo.User;

import java.sql.Connection;
import java.sql.SQLException;

public interface UserDao {

    public User getLoginUser(Connection connection , String userPhone) throws SQLException;

    public int UserchangePassword(Connection connection ,int userId , String userPassword) throws SQLException;

    public int RegisterUser(Connection connection , String userName,String userPhone,String userPassword,String userQQ,String userAddress) throws SQLException;
}
